<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div.content{
            display: none;
        }
        div.content:target{
            display: block;
        }
    </style>
</head>
<body>
    <div>
        <a href="#aaa">aaa</a>
        <div id="aaa" class="content">
            Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quidem, nulla quasi excepturi voluptatum odit ex! Explicabo nesciunt magnam, corporis assumenda eum, eos repellat eius dicta itaque consequuntur saepe, non id?
        </div>
    </div>
    <div>
        <a href="#bbb">bbb</a>
        <div id="bbb" class="content">
            Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quidem, nulla quasi excepturi voluptatum odit ex! Explicabo nesciunt magnam, corporis assumenda eum, eos repellat eius dicta itaque consequuntur saepe, non id?
        </div>
    </div>
    <div>
        <a href="#ccc">ccc</a>
        <div id="ccc" class="content">
            Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quidem, nulla quasi excepturi voluptatum odit ex! Explicabo nesciunt magnam, corporis assumenda eum, eos repellat eius dicta itaque consequuntur saepe, non id?
        </div>
    </div>
</body>
</html>